<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      >
	<h:form>
		<span>Nom :</span> <h:inputText value="#{mbRecherche.nom}" />
		<br />
		<span>Lieu :</span><h:inputText value="#{mbRecherche.lieu}" />
		<span>Prix :</span> <h:selectOneMenu value="#{mbRecherche.prixKey}">
				<f:selectItem itemValue="0" itemLabel="-"/>
				<f:selectItem itemValue="1" itemLabel="20 euros et moins"/>
				<f:selectItem itemValue="2" itemLabel="Entre 20 et 40 euros"/>
				<f:selectItem itemValue="3" itemLabel="40 euros et plus"/>
		</h:selectOneMenu>
		<span>Genre :</span> <h:selectOneMenu value="#{mbRecherche.idGenreSelected}">
			<f:selectItems value="#{mbRecherche.listeGenres}" />
		</h:selectOneMenu>
		<span>Audience :</span> <h:selectOneMenu value="#{mbRecherche.idAudienceSelected}">
			<f:selectItems value="#{mbRecherche.listeAudiences}" />
		</h:selectOneMenu>
		<span>Date :</span> <h:selectOneMenu value="#{mbRecherche.nbJourDateAdd}">
			<f:selectItems value="#{mbRecherche.listeDates}" />
		</h:selectOneMenu>
		<h:commandButton value="GO!" action="#{mbRecherche.rechercher}"/>
	
	
	
		
	</h:form>
</html>